<?xml version="1.0" encoding="utf-8"?>
<Content type="xform" name="EditContent">
	<model>
		<instance>
			<tblDirectory>
				<nDirKey/>
				<cDirName/>
				<cDirPassword/>
				<cDirForiegnRef/>
				<cDirSchema>Group</cDirSchema>
				<cDirXml>
					<Group>
						<Name/>
						<Notes/>
					</Group>
				</cDirXml>
				<nAuditId/>
				<nAuditKey/>
				<dPublishDate/>
				<dExpireDate/>
				<dInsertDate/>
				<nInsertDirId/>
				<dUpdateDate/>
				<nUpdateDirId/>
				<nStatus>1</nStatus>
				<cDescription/>
			</tblDirectory>
		</instance>
		<submission id="EditContent" action="" method="post" event="return form_check(this)"/>
		<bind id="cDirName" nodeset="tblDirectory/cDirName" required="true()" type="string"/>
		<bind nodeset="tblDirectory/cDirXml/Group">
			<bind id="cDirName" nodeset="Name" required="true()" type="string"/>
			<bind id="cNotes" nodeset="Notes" required="false()" type="string"/>
		</bind>
		<bind id="dPublishDate" nodeset="tblDirectory/dPublishDate" required="false()" type="string"/>
		<bind id="dExpireDate" nodeset="tblDirectory/dExpireDate" required="false()" type="string"/>
		<bind id="nStatus" nodeset="tblDirectory/nStatus" required="true()" type="string"/>
		<bind id="cDescription" nodeset="tblDirectory/cDescription" required="false()" type="string"/>
	</model>
	<group ref="EditContent" class="2Col">
		<label>Edit Group</label>
		<group>
			<group>
				<label>Settings</label>
<input bind="dPublishDate" class="calendar">
			<label>Valid From</label>
		</input>
		<input bind="dExpireDate" class="calendar">
			<label>Valid To</label>
		</input>
		<select1 bind="nStatus" appearance="full" class="required">
			<label>Status</label>
			<item>
				<label>Active</label>
				<value>1</value>
			</item>
			<item>
				<label>In-Active</label>
				<value>0</value>
			</item>
		</select1>
		<input bind="cDescription">
			<label>Change Notes</label>
		</input>

			</group>
		</group>
		<group>
			<group>

				<input bind="cDirName" class="required long">
			<label>Group Name</label>
		</input>
		<textarea bind="cNotes" class="TextAreaBrief xhtml" rows="5" cols="70">
			<label>Notes</label>
		</textarea>
			</group>
		</group>
		
	</group>
	<group>
		<submit submission="" ref="ewSubmit" class="principle">
			<label>Save Group</label>
		</submit>
	</group>
</Content>
